package jiali.service.impl;
import jiali.model.Standard;
import jiali.model.vo.StandardVO;
import jiali.service.CommonService;
import lombok.extern.log4j.Log4j2;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
@Slf4j
public class CommonServiceImpl implements CommonService {

    /**
     * 数据标准化
     * @param dataList
     */
    public void setStandardization(StandardVO dataList) {
        List<Standard> standardList = dataList.getStandardList();
        log.info("s");
        int count = 0;
        for (Standard data : standardList) {
            System.out.println(count + " : " + data.getExtra());
            count ++;
        }
    }

}
